public class MainClass {
    public static void main(String[] args) {
        ListNode l1 = new ListNode(2);
        ListNode l1_1 = new ListNode(4);
        ListNode l1_2 = new ListNode(3);
        l1.next = l1_1; l1_1.next = l1_2;

        ListNode l2 = new ListNode(5);
        ListNode l2_1 = new ListNode(6);
        ListNode l2_2 = new ListNode(4);
        l2.next = l2_1; l2_1.next = l2_2;
        Solution s = new Solution();
        ListNode listNode = s.addTwoNumbers(l1, l2);

        ListNode current = listNode;
        while (current != null) {
            System.out.print(current.val);
            current = current.next;
        }
    }
}
